Skip to content

Supermutec/ASC-4: Ascendancy API Interface#15

Merged
HyScript7 merged 3 commits into
3.0.0from
Supermutec/ASC-4
Jun 23, 2026
Merged

Supermutec/ASC-4: Ascendancy API Interface#15
HyScript7 merged 3 commits into
3.0.0from
Supermutec/ASC-4

Conversation

@SuperMuctec

Copy link
Copy Markdown
Collaborator

Added ASC-4

  • Supermuctec

@HyScript7 HyScript7 changed the title Supermutec/asc 4 Supermutec/ASC-4: Ascendancy API Interface Jun 21, 2026
}

static Optional<AscendancyAPI> fromServicesManager(){
if (Optional.ofNullable(Bukkit.getServer().getServicesManager().load(AscendancyAPI.class)).isPresent()) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd either add logging to justify this if statement or just simply return:

return Optional.ofNullable(Bukkit.getServer().getServicesManager().load(AscendancyAPI.class));

@HyScript7 HyScript7 merged commit 501d08e into 3.0.0 Jun 23, 2026
@HyScript7 HyScript7 deleted the Supermutec/ASC-4 branch June 23, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants